import 'lib/function.dart' deferred as func; // deferred 延迟加载

void main(List<String> args) {
  // func.hello();

  print(1);

  greet();

  print(2);
  print(3);
}

Future greet() async {
  await func.loadLibrary();
  func.hello();
}
